﻿@using BeautyTech.WebSite.Models.Catalog;

@model IList<CategoryModel>

@{ 
    Layout = null; 
} 

@*Html.ActionLink("Home", "List", "Product") 
 
@foreach (var link in Model) { 
   @* <li>@Html.ActionLink(link.Name, link.Name + "~" + link.ID)</li> 
   @*<li>@Html.RouteLink(link.Name, new { id = link.Name + "~" + link.ID })</li>
    <li>@Html.RouteLink(link.Name, "Catalog", new { section = link.SeName, id = link.ID })</li>
} 
*@

@foreach(var item in Model) {
    <div class="span3">
        
        <!-- COUPON THUMBNAIL -->
        <a href="@Url.RouteUrl("Catalog", new { section = item.SeName, id = item.ID })" class="coupon-thumb">
            <img src="~/Images/Themes/homepage/@(item.SeName).jpg" alt="@item.SeName" title="cascada" />
            <div class="coupon-inner">
                <h5 class="coupon-title">@item.Name</h5>
                <p class="coupon-desciption">Mattis condimentum id malesuada himenaeos praesent dictumst vitae</p>
                <div class="coupon-meta">
                    <div class="coupon-price">
                        <span class="coupon-new-price">Découvrir</span>
                    </div>
                </div>
            </div>
        </a>
    </div>
}